﻿using Abp.Application.Services.Dto;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.Prm.Project.Dto
{
    public class GetInquiryInPut : IInputDto, IPagedResultRequest, ISortedResultRequest
    {
        public string QuiryNo { get; set; }

        /// <summary>
        /// 是否立项
        /// 0--忽略；
        /// -1未立项
        /// 1已立项
        /// </summary>
        public int proStatus { get; set; }
        public string ProjectNo { get; set; }
        public string ProductNo { get; set; }
        public string CustomerName { get; set; }

        public string PMName { get; set; }
        public string SubName { get; set; }
        public string CAS { get; set; }
        public string Dts { get; set; }
        public string Dte { get; set; }

        public int? status { get; set; }

        [Range(1, AppConsts.MaxPageSize)]
        public int MaxResultCount { get; set; }

        [Range(0, int.MaxValue)]
        public int SkipCount { get; set; }

        public string Sorting { get; set; }

        public GetInquiryInPut()
        {
            MaxResultCount = AppConsts.DefaultPageSize;
        }
    }
}
